<?php
declare (strict_types = 1);

namespace app\queue\validate;

use think\Validate;

class Order extends Validate
{
  protected $rule =   [
        'start_time'  => 'require',
        'end_time'   => 'require',
        'appkey'   => 'require',
        'secretkey'   => 'require'
    ];
    
    protected $message  =   [
        'start_time.require' => '开始时间不能为空',
        'end_time.require'  => '结束时间不能为空',
        'appkey.require'  => 'appkey不能为空',
        'secretkey.require'  => 'secretkey不能为空'
    ];
}
